
.clearfix::after{
  display: block;
  content: '';
  clear: both;
}

.main{
  width: 1200px;
  margin: 0 auto;
  .mian-nav {
    p {
      color: #969696;
      height: 66px;
      line-height: 70px;
      font-size: 16px;
      padding-left: 26px;
      background: url("../img/home.png") no-repeat 4px center;
      a {
        color: #969696;
        &:hover {
          color: red;
        }
      }
    }
  }

  .main-content {
    width: 100%;
    box-shadow: 0 0 2px 1px #f6f6f6;
    border-radius: 8px;
    padding-top: 6px;
    h3 {
      margin-left: 15px;
      line-height: 48px;
      font-size: 24px;
      padding-left: 42px;
      background: url("../img/game-stopwatch.png") no-repeat 0 center;
      border-bottom: 3px solid #ff9500;
    }
    .table {
      height: 100%;
      position: relative;
      .left-mark {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 50px;
        padding: 20px 0;
        .dot {
          height: 15px;
          background: #fff url("../img/table_dot.png") no-repeat center 0;
        }
        .line {
          margin-left: 24px;
          width: 3px;
          height: calc(100% - 30px);
          background: #e8e9e8;
        }
      }
      .right-table {
        margin: 0 20px 0 50px;
        width: calc(100% - 70px);
        height: 100%;
        .open-today {
          position: relative;
          padding-top: 58px;
          padding-bottom: 22px;
          .mark-to-left {
            position: absolute;
            top: 40px;
            left: -26px;
            width: 166px;
            height: 28px;
            background: url("../img/open_table_bg.png") no-repeat;
            line-height: 28px;
            font-size: 14px;
            color: #fff;
            p {
              text-align: right;
              padding-right: 10px;
            }
          }
          table {
            width: 100%;
            tr {
              height: 175px;
              width: 100%;
              background: url("../img/open_table.jpg") no-repeat;
              background-size: contain;
              td {
                vertical-align: middle;
              }
              .td1 {
                width: 12%;
                a {
                  display: block;
                  width: 80px;
                  margin: auto;
                  img {
                    width: 80px;
                    height: 80px;
                  }
                  &:hover {
                    margin-left: 29px;
                  }
                }
              }
              .td2 {
                width: 25%;
                p {
                  width: 100%;
                  overflow: hidden;
                  text-overflow: ellipsis;
                  white-space: nowrap;
                  a:hover {
                    color: red;
                    text-decoration: underline;
                  }
                }
                .p1 {
                  a {
                    float: left;
                    line-height: 45px;
                    padding-right: 22px;
                    font-size: 28px;
                    background: url("../img/gift_bag.jpg") no-repeat right center;
                  }
                }
                .p2 {
                  font-size: 14px;
                  line-height: 26px;
                }
              }
              .td3 {
                width: 13%;
                text-align: center;
                span {
                  line-height: 40px;
                  font-size: 18px;
                  color: #ff0000;
                }
              }
              .td4 {
                width: 20%;
                text-align: center;
                span {
                  line-height: 40px;
                  font-size: 14px;
                  color: #8b8b8b;
                }
              }
              .td5 {
                width: 30%;
                div {
                  a {
                    float: left;
                    line-height: 32px;
                    font-size: 14px;
                    border: 1px solid #3bb70b;
                    margin: 0 20px 0 40px;
                    padding: 0 14px;
                    border-radius: 3px;
                    color: #3bb70b;
                  }
                  .rightBtn {
                    border-color: #ff9500;
                    color: #ff9500;
                    &:hover {
                      background: #ff9500;
                      color: #fff;
                    }
                  }
                  .leftBtn:hover {
                    background: #3bb70b;
                    color: #fff;
                  }
                }
              }
            }
          }
        }
        .open {
          width: 100%;
          position: relative;
          padding: 46px 0 20px 0;

          font-size: 14px;
          table {
            width: 100%;
            tr {
              height:68px;
              text-align: center;
              line-height: 38px;
              color: #8b8b8b;
              &:first-child {
                height: 32px;
                line-height: 32px;
                background: #f6f6f6;
                color: #838282;
              }
              td {
                padding-top: 30px;
                line-height: 38px;
                a:hover {
                  color: red;
                  text-decoration: underline;
                }
              }
              .td2 {
                a {
                  font-weight: bold;
                  color: #414040;
                }
              }
              .td5,.td6 {
                a {
                  display: block;
                  line-height: 32px;
                  width: 90px;
                  margin: 0 auto;
                  font-size: 14px;
                  border-radius: 3px;
                }
              }
              .td5 {
                a {
                  border: 1px solid #3bb70b;
                  color: #3bb70b;
                  &:hover {
                    background: #3bb70b;
                    color: #fff;
                    text-decoration: none;
                  }
                }
              }
              .td6 {
                a {
                  border: 1px solid #ff9500;
                  color: #ff9500;
                  &:hover {
                    background: #ff9500;
                    color: #fff;
                    text-decoration: none;
                  }
                }
              }
            }
          }
          .mark-to-left {
            position: absolute;
            top: 0;
            left: -26px;
            width: 126px;
            height: 28px;
            line-height: 28px;
            font-size: 14px;
            color: #fff;
            p {
              text-align: right;
              padding-right: 10px;
            }
          }
          .mark2 {
            background: url("../img/open_table_bg.png") no-repeat 0 -28px;
          }
          .mark3 {
            background: url("../img/open_table_bg.png") no-repeat 0 -56px;
          }
        }
        .open-already {
          .more {
            width: 100%;
            cursor: pointer;
            p {
              margin-top: 40px;
              line-height: 70px;
              font-size: 20px;
              color: #8e8e8e;
              text-align: center;
              background: #f5f5f5;
              border-radius: 8px;
            }
          }
        }
      }
      form {
        position: absolute;
        right: 20px;
        top: 34px;
        height: 40px;
        width: 240px;
        input {
          box-sizing: border-box;
          float:left;
          height: 100%;
          outline: none;
          font-size: 14px;
        }
        .input-search {
          width: 160px;
          text-indent: 28px;
          border: 1px solid #e6e6e6;
          border-right: none;
        }
        .input-submit {
          width: 80px;
          border: none;
          background: #979ea6;
          color: #fff;
        }
      }
    }
  }
}

